<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改作业')" />
    <th:block th:include="include :: datetimepicker-css" />
    <th:block th:include="include :: summernote-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-leavehomework-edit">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group" style="display: none;">
                <label class="col-sm-3 control-label">教师id：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${sHomework.teacherId}"></div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">教师姓名：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${sHomework.teacherName}"></div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">班级：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${sHomework.stuclassname}"></div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">课程名称：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${sHomework.courseName}"></div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">作业标题：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${sHomework.title}"></div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">作业内容：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:utext="${sHomework.content}"></div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">开始时间：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${#dates.format(sHomework.startTime,'yyyy-MM-dd HH:mm')}"></div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">截止时间：</label>
                <div class="col-sm-8">
                   <div class="form-control-static" th:text="${#dates.format(sHomework.endTime,'yyyy-MM-dd HH:mm')}"></div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注信息：</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${sHomework.remark}"></div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">作业状态</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${sHomework.status}"></div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <th:block th:include="include :: summernote-js" />
</body>
</html>